/*===========================================================================
  Copyright (C) 2014 by the Okapi Framework contributors
-----------------------------------------------------------------------------
  This library is free software; you can redistribute it and/or modify it 
  under the terms of the GNU Lesser General Public License as published by 
  the Free Software Foundation; either version 2.1 of the License, or (at 
  your option) any later version.

  This library is distributed in the hope that it will be useful, but 
  WITHOUT ANY WARRANTY; without even the implied warranty of 
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser 
  General Public License for more details.

  You should have received a copy of the GNU Lesser General Public License 
  along with this library; if not, write to the Free Software Foundation, 
  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  See also the full LGPL text here: http://www.gnu.org/copyleft/lesser.html
===========================================================================*/

package net.sf.okapi.applications.lynxweb;

public class Html {

	static public long FILESIZEMAX = 51200; // 50Kb
	static public long SIZEMAX = 54272; // 53Kb
	
	static public String HEAD1 = "<html><head>"
		+ "<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'>"
		+ "<title>Okapi Lynx-Web</title>"
		+ "<style type='text/css'>body { font-family: Arial, Helvetica, sans-serif; }</style>"
		+ "<head><body><h1>";
	
	static public String HEAD2 = "</h2>"
		+ "<table style='padding-bottom:0.5em'><tr><td rowspan=2 style='text-align:left;vertical-align:top;'>[&nbsp;<a href='/'>Home</a>&nbsp;]&nbsp;&nbsp;<small>Notes:</small></td>"
		+ "<td><small>- XLIFF 2.0 is an <b>OASIS Standard</b>. The processing performed here "
		+ "should correspond to <a target='_blank' href='http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html'>the latest version of the specification</a>.</small></td></tr>"
		+ "<tr><td><small>- Schema validation: Core and all modules, processing requirements/constraints validation: "
		+ "Core, Translation Candidates, Glossary, Metadata and Validation.<small></td></tr>"
		+ "</table>";
	
	static public String INFO = "<ul>"
		+ "<li>This application uses <a target='_blank' href='https://code.google.com/p/okapi-xliff-toolkit/'>the Okapi XLIFF Toolkit</a>.</li>"
		+ "<li>Documents size is limited to about 50Kb on-line, please use the command-line version of Lynx for larger documents.</li>"
		+ "<li>Report issues at <a target='_blank' href='https://code.google.com/p/okapi-xliff-toolkit/issues/list'>https://code.google.com/p/okapi-xliff-toolkit/issues/list</a></li>"
		+ "<li>For more information about XLIFF see <a target='_blank' href='http://www.oasis-open.org/committees/xliff'>the OASIS XLIFF TC page</a>.</li>"
		+ "</ul></body></html>";
	
}
